package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.lamp.care.entity.BHl7YzYaoExe;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Schema(description ="入科前用药信息类")
public class RkYongYaoOutVO {

    private Long id;

     @Schema(description ="用药名称")
    private String yaoName;

     @Schema(description ="用药目的")
    private String md;

     @Schema(description ="执行时间")
    private LocalDateTime exeTime;

    public RkYongYaoOutVO(BHl7YzYaoExe exePO) {
        this.id = exePO.getId();
        this.yaoName = exePO.getExeName();
        this.md = exePO.getMd();
        this.exeTime = exePO.getStartTime();
    }
}
